package com.tedu.day02.oop;
abstract class Foo{
    public int i=10;
    public final int j=20;

    public Foo() {
        this(i=30);
    }
    public Foo(int i){
        this.i=i;
    }
    class Goo extends Foo{
        public void show(){
            System.out.println("Goo show");
        }
    }
    public void method(){
        System.out.println("Goo method");
    }
}

public class 抽象类补充知识点 {
    public static void main(String[] args){
        Foo f=new Goo();
        System.out.println(f.i);
        System.out.println(f.j);

        f.show();
        f.method();
    }
    public static abstract void show3();
}
